package org.xxpay.core.service;

import org.xxpay.core.entity.SysLoginFailIpRecord;

import java.util.List;

/**
 * @author: pangxiaoyu
 * @date: 2020/11/12
 * @description: 登录失败记录
 */
public interface ISysLoginFileIpRecordService {

    SysLoginFailIpRecord findById(String ip);

    List<SysLoginFailIpRecord> find(SysLoginFailIpRecord record);

    int add(SysLoginFailIpRecord record);

    int update(SysLoginFailIpRecord record);

    int delete(String ip);

    int failCountByIp(String ip, String btSignConfig, String btUrlConfig, Integer loginCountConfig, Byte loginToBlackType, String userName);

}
